<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html th:fragment="content">
<head>
    <link xmlns="http://www.w3.org/1999/xhtml"></link>
    <title>PDF下载</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <!--[if lt IE 9]>
    <meta http-equiv="refresh" content="0;ie.html"/>
    <![endif]-->
    <style mce_bogus="1" type="text/css">
        body {
            font-family: SimSun;
        }

        table {
            text-align: left;
            border-collapse: collapse;
        }

        .border-table {
            border-collapse: collapse;
        }

        th {
            vertical-align: top;
            border-collapse: collapse;
        }

        td {
            border-collapse: collapse;
        }

        .border-table td {
            vertical-align: top;
            border-collapse: collapse;
            border-left: black 1px solid;
            border-right: black 1px solid;
        }
    </style>
</head>
<body>
<!--210*297-->
<div style="width:160mm; height: 267mm;margin: 0 0 0 10mm;">
    <div style="width: 100%;height: 20mm;"></div>
    <div style="width: 100%;height: 20mm;">
        <table style="text-align: left;width:100%;" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td>姓名：<span th:text="${student.name}"></span></td>
                <td>性别：<span th:text="${student.sex}"></span></td>
                <td>专业：<span th:text="${student.major}"></span></td>
                <td>学制 <span th:text="${student.xz}"></span></td>
            </tr>
            <tr>
                <td>学习期限<span th:text="${student.studyperiod}"></span></td>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </table>
    </div>
    <div style="width: 100%;height:197mm ">
        <table style="width: 100%;height:100%;" cellspacing="0" cellpadding="0">
            <tr style="width: 100%;height:197px; ">
                <td colspan="5">
                    <table style="width:100%;height: 100%;" class="border-table">
                        <tr style="height: 20px;">
                            <th style="width:70px;border: black 1px solid;">学年学年</th>
                            <th style="width:108px;border: black 1px solid;">科目科目科</th>
                            <th style="width:35px;border: black 1px solid;">学分</th>
                            <th style="width:35px;border: black 1px solid;">学时</th>
                            <th style="width:35px;border-bottom: black 1px solid;border-top: black 1px solid;">成绩</th>
                        </tr>
                        <th:block th:if="${#lists.size(scores) ge 2*k*page_half-page_half}">
                            <tr style="height: 20px;"
                                th:each="i:${#numbers.sequence(2*(k-1)*page_half,2*k*page_half-page_half-1)}">
                                <td th:text="${scores[i].schyear}"></td>
                                <td th:text="${scores[i].name}"></td>
                                <td th:text="${i}"></td>
                                <td th:text="${scores[i].hours}"></td>
                                <td th:text="${scores[i].score}"></td>
                            </tr>
                        </th:block>
                        <th:block th:if="${(#lists.size(scores) lt 2*k*page_half-page_half)}">
                            <tr style="height: 20px;"
                                th:each="i:${#numbers.sequence(2*(k-1)*page_half,#lists.size(scores)-1)}">
                                <td valign="top" th:text="${scores[i].schyear}"></td>
                                <td th:text="${scores[i].name}"></td>
                                <td th:text="${i}"></td>
                                <td th:text="${scores[i].hours}"></td>
                                <td th:text="${scores[i].score}"></td>
                            </tr>
                            <tr style="height: 20px;"
                                th:each="i:${#numbers.sequence(#lists.size(scores),page_half*(2*k-1)-1)}">
                                <td></td>
                                <td></td>
                                <td th:text="${i}"></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </th:block>
                    </table>
                </td>
                <td colspan="5">
                    <table style="width: 100%;height: 100%;" class="border-table">
                        <tr style="height: 20px;">
                            <th style="width:70px;border: black 1px solid;">学年学年</th>
                            <th style="width:108px;border: black 1px solid;">科目科目科</th>
                            <th style="width:35px;border: black 1px solid;">学分</th>
                            <th style="width:35px;border: black 1px solid;">学时</th>
                            <th style="width:35px;border: black 1px solid;">成绩</th>
                        </tr>
                        <th:block th:if="${#lists.size(scores) ge 2*k*page_half}">
                            <tr style="height: 20px;"
                                th:each="i:${#numbers.sequence(page_half*(2*k-1),2*k*page_half-1)}">
                                <td valign="top" th:text="${scores[i].schyear}"></td>
                                <td th:text="${scores[i].name}"></td>
                                <td th:text="${i}"></td>
                                <td th:text="${scores[i].hours}"></td>
                                <td th:text="${scores[i].score}"></td>
                            </tr>
                        </th:block>
                        <th:block
                                th:if="${#lists.size(scores) ge page_half*(2*k-1)} and ${#lists.size(scores) lt 2*k*page_half}">
                            <tr style="height: 20px;"
                                th:each="i:${#numbers.sequence(page_half*(2*k-1),#lists.size(scores)-1)}">
                                <td valign="top" th:text="${scores[i].schyear}"></td>
                                <td th:text="${scores[i].name}"></td>
                                <td th:text="${i}"></td>
                                <td th:text="${scores[i].hours}"></td>
                                <td th:text="${scores[i].score}"></td>
                            </tr>
                            <tr style="height: 20px;"
                                th:each="i:${#numbers.sequence(#lists.size(scores),page_half*(2*k-1)-1)}">
                                <td></td>
                                <td></td>
                                <td th:text="${i}"></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </th:block>
                        <th:block
                                th:if="${#lists.size(scores) lt page_half*(2*k-1)} and ${#lists.size(scores) ge 2*(k-1)*page_half}">
                            <tr style="height: 20px;" th:each="i:${#numbers.sequence(0,page_half-1)}">
                                <td></td>
                                <td></td>
                                <td th:text="${i}"></td>
                                <td></td>
                                <td></td>
                            </tr>
                        </th:block>
                    </table>
                </td>
            </tr>
            <tr style="width: 100%;height:20mm;">
                <td colspan="10" style="width: 100%;height:20mm;">
                    <table style="width: 100%;height: 100%;border: black 1px solid;">
                        <tr>
                            <td style="width: 70px;border-right: black 1px solid;"></td>
                            <td style="vertical-align: center;">教育处<img src="http://pic1.win4000.com/wallpaper/7/53bce10032f18.jpg" style="width:80px;height: 60px;"/>
                                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;教育处</td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    <div style="height: 20mm;text-align: center;">
        <span>标号</span><br/><br/>
        <span>page <span th:text="${k}"></span>/<span th:text="${totalPage}"></span></span>
    </div>
</div>
</body>
</html>